package com.fh.model.dto;

import com.fh.model.TProduct;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class OrderInfoDTO {
    private Long orderNum;//订单号

    private Date createDate;//订单创建时间

    private Integer pcount;//商品数量

    private BigDecimal totalPrice;//订单总金额

    private List<TProduct> productList;//该订单下的商品集合

    private Short orderSatus;//订单状态

    public Short getOrderSatus() {
        return orderSatus;
    }

    public void setOrderSatus(Short orderSatus) {
        this.orderSatus = orderSatus;
    }

    public Long getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Long orderNum) {
        this.orderNum = orderNum;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getPcount() {
        return pcount;
    }

    public void setPcount(Integer pcount) {
        this.pcount = pcount;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public List<TProduct> getProductList() {
        return productList;
    }

    public void setProductList(List<TProduct> productList) {
        this.productList = productList;
    }
}
